// pages/setCard/setCard.js
Page({
  data: {
    adressList: ['', '', '', '', '', '', '', ''],
    currentIndex:0
  },
  onLoad: function (options) {

  },
  changeAdressHandle(e){//选择办卡地址
    var index = e.currentTarget.dataset.index;

    this.setData({
      currentIndex: index
    })
  },
  purchaseHandle(){ //购买
    wx.showModal({
      title:'确认选择199元次卡',
      content:'到店里支付'
    })
  }
})